package com.sansan.qiangji.VO.base.stock;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class StockVO {
    /**
     * 库位Id
     */
    private Integer stockId;
    /**
     * 所属货架
     */
    private String shelveName;
    /**
     * 库位列
     */
    private Integer stockWidth;
    /**
     * 库位层
     */
    private Integer stockHeight;
    /**
     * 入库单编号
     */
    private String pushOrderCode;
    /**
     * 入库单详情编号
     */
    private String pushOrderDetailCode;
    /**
     * 库位货物编号
     */
    private String productCode;
    /**
     * 库位货物名称
     */
    private String productName;
    /**
     * 货物状态(已绑定/已存放/空闲)
     */
    private String stockStatus;
    /**
     * 货位数量
     */
    private Integer unitCount;

    private String freezeStatus;

    private Integer stockCount;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date pushTime;

    private Integer upperLimit;

    private Integer lowerLimit;

    private Integer storageAge;

}
